package com.tpindividual.tpej1;

import android.view.View;
import android.widget.EditText;


public class MiVistaInput extends View {
	private final ActivityInput activity;
	private final Triangulo model;
	
	public MiVistaInput(ActivityInput a, Triangulo m) {
		super(a, null);
		
		activity = a;
		model = m;
		
        activity.setContentView(R.layout.activity_activity_input);
                
	}

	public void setNumero1(String a){
		EditText numero1 = (EditText) activity.findViewById(R.id.editText1);
		numero1.setText(a);
	}

	public void setNumero2(String a){
		EditText numero2 = (EditText) activity.findViewById(R.id.editText2);
		numero2.setText(a);
	}
	
	public void setNumero3(String a){
		EditText numero3 = (EditText) activity.findViewById(R.id.editText3);
		numero3.setText(a);
	}
	
}

